home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 4
/
The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO
/
clang
/
xlib05.zip
/
XLIBTL02.ZIP
/
XTSRMOUS.H
< prev
next >
Wrap
Text File
|
1980-06-09
|
1KB
|
25 lines
typedef enum ButtonType { LeftButton,RightButton,MidButton } ButtonType;
typedef enum MouseMode { Hardware,Software } MouseMode;
typedef unsigned int MouseDef[31];
extern int MouseOK;
extern int NoButtons;
extern int MidPressed,RightPressed,LeftPressed;
extern MouseDef Mymouse;
extern int MouseX, MouseY;
void InitMouse();
void ShowMouse();
void HideMouse();
void MouseXY();
void MouseToXY(int xpos, int ypos);
int MousePressCount(ButtonType button, int *status);
int MouseReleaseCount(ButtonType button, int *status);
void MouseXRange(int x1, int x2);
void MouseYRange(int y1, int y2);
void DefineGraphMouse(MouseDef mouse, int xhot, int yhot);
void DefineTextMouse(MouseMode mode, int scrnmask, int cursormask);
void ReadMouseMickey(int *Xspeed, int *Yspeed);
void SetMouseMickey(int Xspeed, int Yspeed);
void TextCursorOff();
void TextCursorOn();